//
//  dynamicGroupModels.m
//  QQ界面
//
//  Created by apple on 16/11/18.
//  Copyright © 2016年 LWB. All rights reserved.
//

#import "dynamicGroupModels.h"
#import "dynamicModels.h"
#import "dynamicFrame.h"
@implementation dynamicGroupModels
-(instancetype)initWithDict:(NSDictionary *)dict;{
    if (self =[super init]) {
        [self setValuesForKeysWithDictionary:dict];
        NSMutableArray *arr = [NSMutableArray array];
        for (NSDictionary *dict1 in _groupFrame) {
            dynamicModels *dynam = [[dynamicModels alloc]initWithDict:dict1];
            dynamicFrame *dynaFrame = [[dynamicFrame alloc]init];
            dynaFrame.dynam =dynam;
            [arr addObject:dynaFrame];
        }
        _groupFrame =arr;
    }
    return self;
}
+(instancetype)dynamicGroupModelsWithDict:(NSDictionary *)dict{
    
    
    return [[self alloc]initWithDict:dict];
}
@end
